package com.wfl.sampling.dao;
import com.wfl.sampling.entity.WxchatPreOrder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WxchatPreOrderDao {
    void updatePreOrderState(String state,String out_trade_no);

    void insertPreOrder(WxchatPreOrder wxchatPreOrder);
    void deleteByOut_trade_no(String out_trade_no);
    List<WxchatPreOrder> findPreOrdersByOpenid(String openid);
}
